package sk.naive.talker.command;

import sk.naive.talker.message.Category;

import java.rmi.RemoteException;

/**
 * ClearReview.
 *
 * @author <a href="mailto:virgo@naive.deepblue.sk">Richard "Virgo" Richter</a>
 * @version $Revision: 1.8 $ $Date: 2005/01/19 22:41:27 $
 */
public class ClearReview extends AbstractCommand {
	public void exec() throws CommandException, RemoteException {
		new LocationHelper(commandDispatcher).locationBufferForUser(this).clear();
		sendHelper().sendLocal(user, "clearReview.user", "clearReview.audience", Category.LOCAL);
	}
}
